#ifndef OSM_NODE_H
#define OSM_NODE_H

#include <QString>
#include <QMap>

class OSMNode
{
public:
    OSMNode();

    unsigned int getId();
    void setId(unsigned int id);

    float getLatitude();
    void setLatitude(float lat);

    float getLongitude();
    void setLongitude(float lon);

    const QMap<QString, QString>* getFeatures();

    void addFeature(const QString& key, const QString& value);
    bool isMarina(QString& category, QString& name);
    bool isRestaurant(QString& category, QString& name);

private:
    unsigned int m_id;
    float m_latitude;
    float m_longitude;
    QMap<QString, QString> m_features;
};

#endif // OSM_NODE_H